if (NotUDMF == nil)
	addHook("MapThingSpawn", function(mo, mt)
		if (mo == nil) or (mt == nil) return end
		local info = mobjinfo[mo.type]

		if (info.flags & MF_MONITOR) and (mapheaderinfo[gamemap].custommonitorsize != nil)
			local s = mapheaderinfo[gamemap].custommonitorsize * mt.extrainfo
			if mt.extrainfo == 0
				s = 100
			end
			mo.scale = ($ * s) / 100
			mo.destscale = mo.scale
		end

	end)
end
rawset(_G,"NotUDMF",true)